Optimal. Leaf size=24 \[ \frac {\left (b x^2+c x^4\right )^{1+p}}{2 (1+p)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 24, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.043, Rules used = {1602}
\begin {gather*} \frac {\left (b x^2+c x^4\right )^{p+1}}{2 (p+1)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1602
Rubi steps
\begin {align*} \int x \left (b+2 c x^2\right ) \left (b x^2+c x^4\right )^p \, dx &=\frac {\left (b x^2+c x^4\right )^{1+p}}{2 (1+p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 24, normalized size = 1.00 \begin {gather*} \frac {\left (x^2 \left (b+c x^2\right )\right )^{1+p}}{2 (1+p)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.16, size = 31, normalized size = 1.29
method | result | size |
gosper | \(\frac {x^{2} \left (c \,x^{2}+b \right ) \left (c \,x^{4}+b \,x^{2}\right )^{p}}{2+2 p}\) | \(31\) |
risch | \(\frac {x^{2} \left (c \,x^{2}+b \right ) \left (x^{2} \left (c \,x^{2}+b \right )\right )^{p}}{2+2 p}\) | \(31\) |
norman | \(\frac {b \,x^{2} {\mathrm e}^{p \ln \left (c \,x^{4}+b \,x^{2}\right )}}{2+2 p}+\frac {c \,x^{4} {\mathrm e}^{p \ln \left (c \,x^{4}+b \,x^{2}\right )}}{2+2 p}\) | \(54\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.31, size = 35, normalized size = 1.46 \begin {gather*} \frac {{\left (c x^{4} + b x^{2}\right )} e^{\left (p \log \left (c x^{2} + b\right ) + 2 \, p \log \left (x\right )\right )}}{2 \, {\left (p + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.34, size = 31, normalized size = 1.29 \begin {gather*} \frac {{\left (c x^{4} + b x^{2}\right )} {\left (c x^{4} + b x^{2}\right )}^{p}}{2 \, {\left (p + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 75 vs.
\(2 (17) = 34\).
time = 10.04, size = 75, normalized size = 3.12 \begin {gather*} \begin {cases} \frac {b x^{2} \left (b x^{2} + c x^{4}\right )^{p}}{2 p + 2} + \frac {c x^{4} \left (b x^{2} + c x^{4}\right )^{p}}{2 p + 2} & \text {for}\: p \neq -1 \\\log {\left (x \right )} + \frac {\log {\left (x - \sqrt {- \frac {b}{c}} \right )}}{2} + \frac {\log {\left (x + \sqrt {- \frac {b}{c}} \right )}}{2} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.91, size = 22, normalized size = 0.92 \begin {gather*} \frac {{\left (c x^{4} + b x^{2}\right )}^{p + 1}}{2 \, {\left (p + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.07, size = 31, normalized size = 1.29 \begin {gather*} \frac {x^2\,\left (c\,x^2+b\right )\,{\left (c\,x^4+b\,x^2\right )}^p}{2\,\left (p+1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________